﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		姓名：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
		<br />
		口令：<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
		<br />
		<asp:Label ID="lblInfo" runat="server"></asp:Label>
		<br />
		爱好：<asp:CheckBox ID="chkSing" runat="server" Text="唱歌" />
&nbsp;<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal">
            <asp:ListItem>唱歌</asp:ListItem>
            <asp:ListItem>跳舞</asp:ListItem>
            <asp:ListItem>踢球</asp:ListItem>
            <asp:ListItem>阅读</asp:ListItem>
            <asp:ListItem>烹饪</asp:ListItem>
        </asp:CheckBoxList>
		<asp:RadioButtonList ID="RadioButtonList1" runat="server">
        </asp:RadioButtonList>
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
            onselectedindexchanged="DropDownList1_SelectedIndexChanged">
            <asp:ListItem>学生</asp:ListItem>
            <asp:ListItem>教师</asp:ListItem>
            <asp:ListItem>工人</asp:ListItem>
        </asp:DropDownList>
		<asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" Text="登录" />
        <asp:RadioButton ID="RadioButton1" runat="server" Text="男" GroupName="sex" Checked="true" />
         <asp:RadioButton ID="RadioButton2" runat="server" Text="女" GroupName="sex" />
         
          <asp:RadioButton ID="RadioButton3" runat="server" Text="<18" GroupName="age" />
          <asp:RadioButton ID="RadioButton4" runat="server" Text="18-30" GroupName="age" />
           <asp:RadioButton ID="RadioButton5" runat="server" Text=">30" GroupName="age" />
	</div> 
		
    </form>
</body>
</html>
